home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presentation Library 1993 Spring / ARPL-Spring-93-Partner-Edition.iso / Applications / Databases / GQL V3.0 Demo / GQL⁄User / GQL_User.rsrc / STR#_1307.txt < prev    next >
Encoding:
Text File  |  1992-02-03  |  485 b   |  46 lines

  1. 2> 
  2.  
  3. 3> 
  4.  
  5. reset
  6.  
  7.  
  8.  
  9.  
  10. go
  11.  
  12. select name, id from sysobjects where (type = 'U' OR type = 'V') order by name;
  13.  
  14. select name,type,length,status from syscolumns where id = (select id from sysobjects where name = '^0' and(type = 'U' OR type = 'V'));
  15.  
  16. Msg 
  17.  
  18. SQL ERROR
  19.  
  20.  
  21.  
  22.  
  23.  
  24. create table ^0 (^1)
  25.  
  26. ^0 ^1^2
  27.  
  28. drop table ^0
  29.  
  30.  
  31.  
  32. select count(*) from ^1;
  33.  
  34. select distinct ^0 from ^1 order by 1 ;
  35.  
  36. update ^0 set ^1 where ^2;
  37.  
  38. insert into ^0 (^1) values (^2);
  39.  
  40. delete from ^0 where ^2;
  41.  
  42. MMM DD YYYY
  43.  
  44. UPPER
  45.  
  46.